<table>
    <tbody>
<?php foreach ($strings as $string): ?>
        <tr>
            <td><a href="<?php echo site_url('/expenses/view/' . $string['user_id']); ?>"><img class="avatar" alt="" src="<?php echo base_url(); ?>assets/img/avatars/<?php echo $string['user_id']; ?>.jpg" /></a></td>
            <td>
                <p><a class="strong" href="<?php echo site_url('/expenses/view/' . $string['user_id']); ?>"><?php echo $string['name']; ?></a>: <?php echo $string['item']; ?></p>
                <p>Rp <?php echo $string['amount']; ?></p>
                <p class="timestamp"><?php echo $string['timestamp']; ?></p>
            </td>
        </tr>
<?php endforeach; ?>
    </tbody>
</table>
